package bean;

public class User {
    private int id;//id
    private String username;//账号
    private String password;//密码
    private Integer sex;//性别
    private Integer Note;//说明
    private String headimg;//头像

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getNote() {
        return Note;
    }

    public void setNote(Integer note) {
        Note = note;
    }

    public String getHeadimg() {
        return headimg;
    }

    public void setHeadimg(String headimg) {
        this.headimg = headimg;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                ", note='" + Note + '\'' +
                ", headimg='" + headimg + '\'' +
                '}';
    }
}
